<h1>Graphico del contatore del sito</h1><script type="text/javascript" src="https://www.google.com/jsapi"></script>

<script type="text/javascript">
  google.load("visualization", "1", {packages:["corechart"]});
  google.setOnLoadCallback(drawChart);
  function drawChart() {
    var data = google.visualization.arrayToDataTable([
        ['Year', 'Pagine visitate'],
        <?php echo $_GET['datas']; ?>
    ]);

    var options = {
      title: 'Pagine visitate negli anni'
    };

    var chart = new google.visualization.LineChart(document.getElementById('chart_div'));

    chart.draw(data, options);
  }
</script>

<!--Grafico-->
<div id="chart_div" style="width: 900px; height: 500px;"></div>